interface Person {
    firstName: string;
    lastName: string;
}

function greeter(person: Person) {
    return "Hello, " + person;
}

let user = {firstName:'menggui',lastName:'king'};

console.log(greeter(user), "======greeter(user)=========");